from tortoise import Model
from tortoise.fields import DatetimeField


class BaseModel(Model):
    created_at = DatetimeField(auto_now_add=True)
    updated_at = DatetimeField(auto_now=True)
